package com.ruoyi.material.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上传材料对象 sys_material
 *
 * @author hsx
 * @date 2022-01-07
 */
public class SysMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 材料编号 */
    @Excel(name = "材料编号")
    private Long materialId;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    /** 部门编号 */
    private Long deptId;

    /** 党支部*/
    @Excel(name = "党支部")
//    @TableField(exist = false)
//    @JsonIgnore
    private String deptName;

    /** 材料描述 */
    @Excel(name = "材料描述")
    private String describes;

    /** 材料名称 */
    private String fileName;

    /** 平均分 */
    @Excel(name = "平均人数")
    private Integer number;

    /** 上传人 */
    @Excel(name = "上传人")
    private String uploadBy;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 显示结果 **/
    private Boolean showResult;

    public Boolean getShowResult() {
        return showResult;
    }

    public void setShowResult(Boolean showResult) {
        this.showResult = showResult;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    @Override
    public String toString() {
        return "SysMaterial{" +
                "materialId=" + materialId +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", describes='" + describes + '\'' +
                ", fileName='" + fileName + '\'' +
                ", number=" + number +
                ", uploadBy='" + uploadBy + '\'' +
                ", uploadTime=" + uploadTime +
                ", showResult=" + showResult +
                ", score=" + score +
                '}';
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getNumber() {
        return number;
    }

    public String getUploadBy() {
        return uploadBy;
    }

    public void setUploadBy(String uploadBy) {
        this.uploadBy = uploadBy;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    /** 得分 */
    @Excel(name = "得分")
    private Double score;



    public static long getSerialVersionUID() {
        return serialVersionUID;
    }



}
